package com.grm.sys.service;

import com.github.pagehelper.PageInfo;
import com.grm.sys.model.SysUser;
import com.grm.sys.request.user.ChangePasswordParam;
import com.grm.sys.request.user.SysUserAddParam;
import com.grm.sys.request.user.SysUserQueryParam;
import com.grm.sys.request.user.SysUserUpdateParam;
import com.grm.sys.response.SysUserResponse;

import java.util.List;

public interface SysUserService {
    PageInfo<SysUserResponse> querySelective(Integer pageNum, Integer pageSize, SysUserQueryParam queryParam);

    SysUserResponse queryById(Long userId);

    void changePassword(ChangePasswordParam changePasswordParam);

    void add(SysUserAddParam sysUserAddParam);

    void update(SysUserUpdateParam sysUserUpdateParam);

    void delete(List<Long> userIds);

    void resetPassword(Long userId);

    List<SysUserResponse> queryAll();
}
